package com.hs.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.hs.entity.dto.Comment;

import java.util.List;

public interface CommentService extends IService<Comment> {
    PageInfo<Comment> selectCommentList(Integer currentNum, String keywords);

    PageInfo<Comment> selectCommentListByTeamId(Integer currentNum, Integer teamId);

    List<Comment> selectLikeById(Integer id);

    void likeComment(Integer id);

    List<Comment> selectAllCommentListByTeamId(Integer id);
}
